class InvitationInfoModel {
  int id;
  String userToken;
  String anchorToken;
  String createtime;
  int status;
  String endtime;
  int gold;
  int kind;
  String talktime;
  String recording;
  String videoUrl;
  int examine;
  String reason;
  int giftGlod;
  int redpackage;

  InvitationInfoModel(
      {this.id,
      this.userToken,
      this.anchorToken,
      this.createtime,
      this.status,
      this.endtime,
      this.gold,
      this.kind,
      this.talktime,
      this.recording,
      this.videoUrl,
      this.examine,
      this.reason,
      this.giftGlod,
      this.redpackage});

  InvitationInfoModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    userToken = json['user_token'];
    anchorToken = json['anchor_token'];
    createtime = json['createtime'];
    status = json['status'];
    endtime = json['endtime'];
    gold = json['gold'];
    kind = json['kind'];
    talktime = json['talktime'];
    recording = json['recording'];
    videoUrl = json['video_url'];
    examine = json['examine'];
    reason = json['reason'];
    giftGlod = json['giftGlod'];
    redpackage = json['redpackage'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['user_token'] = this.userToken;
    data['anchor_token'] = this.anchorToken;
    data['createtime'] = this.createtime;
    data['status'] = this.status;
    data['endtime'] = this.endtime;
    data['gold'] = this.gold;
    data['kind'] = this.kind;
    data['talktime'] = this.talktime;
    data['recording'] = this.recording;
    data['video_url'] = this.videoUrl;
    data['examine'] = this.examine;
    data['reason'] = this.reason;
    data['giftGlod'] = this.giftGlod;
    data['redpackage'] = this.redpackage;
    return data;
  }
}
